from django.db import models

# Create your models here.

# 密钥信息
class tencentS3(models.Model):
    u_name = models.CharField(verbose_name="服务器用户名", max_length=32, db_column="u_name")
    bucket = models.CharField(verbose_name="腾讯云桶名称", max_length=32, db_column="bucket")
    region = models.CharField(verbose_name="腾讯云地址名称", max_length=32, db_column="region")
    secret_id = models.CharField(
        verbose_name="服务器id", max_length=255, db_column="secret_id"
    )
    secret_key = models.CharField(
        verbose_name="服务器密钥", max_length=255, db_column="secret_key"
    )
